package com.wxLogin.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 微信登陆配置文件类
 */
@Data
@Component
@ConfigurationProperties(prefix = "wxlogin")
@PropertySource("classpath:wxlogin.properties")
public class WxLoginConfig {
    private String appid;
    private String redirectUri;
    private String responseType;
    private String scope;
    private String state;
    private String openUrl;
    private String accessTokenUrl;
    private String secret;
    private String grantType;
    private String userInfoUrl;


}
